package com.serverdemo.core.net;

/**
 * Created by wangqiang on 2020/4/9.
 */
public class NetConstant
{
    /**
     * 消息头的len长度
     */
    public static int PACKET_LEN_LENGTH = 4;

    /**
     * 消息头的消息id长度
     */
    public static int PACKET_BODY_LENGTH = 4;

    /**
     * 消息头长度
     */
    public static int PACKET_HEADER_LENGTH = 8;

    /**
     * 消息体最大长度
     */
    public static int PACKET_MAX_LENGTH = 65535;

}
